package cn.ibdsr.human;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

/**
 * 5G游记助手后端基础应用
 * @author chenglx
 * @version V1.0
 * @date 2020/11/9 16:25
 * <p>
 * Date Author Description
 * ------------------------------------------------------
 * 2020/11/9 chenglx init
 */
@EnableSwagger2
@RestController
@SpringBootApplication(scanBasePackages = {"cn.ibdsr.human"})
public class BaseApplication {

	public static void main(String[] args) {
		SpringApplication.run(BaseApplication.class, args);
	}

	@GetMapping(path = {"/", "/home"})
	public String home() {
		return "Here is human.";
	}

}
